
import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';
var ToolbarAndroid = require('ToolbarAndroid');
var toolbarActions = [
  {title: 'weibo', icon: require('../images/ybyt04.png'), show: 'always'},
  {title: 'loonggg'},
  {title: 'blog', icon: require('../images/ybyt04.png'), show: 'always'},
];
export default class ToolbarDemo extends Component {
  render() {
    return (
       <View style={styles.container}>
        <ToolbarAndroid
            actions={toolbarActions}
            navIcon={require('../images/ybyt04.png')}
            logo={require('../images/ybyt04.png')}
            style={styles.toolbar}
            subtitle="非著名程序员"
            subtitleColor="#ffffff"
            titleColor="#ffffff"
            title="涩郎"/>
        
      </View>
    );
  }
}
const styles = StyleSheet.create({
   container: {
    backgroundColor: 'white',
  },
  toolbar: {
    backgroundColor: '#c6c5b9',
    height: 56,
  },
});